package com.zh.business.service.taxi;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zh.zhbootcommon.entity.taxi.DTaxiOrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 打车订单表 服务类
 * </p>
 *
 * @author JueDream
 * @since 2021-08-04
 */
public interface IDTaxiOrderInfoService extends IService<DTaxiOrderInfo> {

    /**
     * @param page
     * @param limit
     * @param orderCode
     * @return
     */
    Page<DTaxiOrderInfo> queryTaxiOrderPage(Integer page, Integer limit, String orderCode);

    /**
     * 打车订单单个
     * @param orderId
     * @return
     */
    DTaxiOrderInfo queryTaxiOrderOne(Integer orderId);


    /**
     * 打车订单逻辑删除
     *
     * @param orderId
     * @return
     */
    boolean removeTaxiOrder(Integer orderId);

}
